package com.yt.lxh.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yt.lxh.model.activity.CouponInfo;
import com.yt.lxh.vo.activity.coupon.UserOwnCouponVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CouponInfoMapper extends BaseMapper<CouponInfo> {

    List<UserOwnCouponVO> getCouponListByUserId(@Param("userId") String id);

}
